using System;

using Impact.Model.Objects;

namespace Impact.Views
{
    /// <summary>
    /// interface for view that supports page editing
    /// </summary>
    public interface IPageEditorView : IPageView
    {

        /// <summary>
        /// given the page, populates the form with data from the page
        /// </summary>
        void PopulateForm(ImpactPage page);

        /// <summary>
        /// reads data from a from and populates a page object with it
        /// </summary>
        ImpactPage RetrieveFormData();

    }
}
